﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Jok.Server.Infrastructure
{
    public class JokUser
    {
        public int UserId { get; set; }
        public Guid Ticket { get; set; }
        public IJokServiceCallback CallBack { get; set; }

        public void SendCommand(JokCommand Command)
        {
            if (CallBack != null)
                CallBack.Command(Ticket, Command);
        }
    }
}
